package com.joolun.system.mapper;

import java.util.List;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.joolun.system.domain.EduAgreement;

/**
 * 协议信息Mapper接口
 * 
 * @author joolun
 * @date 2025-02-27
 */
public interface EduAgreementMapper extends BaseMapper<EduAgreement>
{
    /**
     * 查询协议信息
     * 
     * @param agreementId 协议信息主键
     * @return 协议信息
     */
    public EduAgreement selectEduAgreementByAgreementId(Long agreementId);

    /**
     * 查询协议信息列表
     * 
     * @param eduAgreement 协议信息
     * @return 协议信息集合
     */
    public List<EduAgreement> selectEduAgreementList(EduAgreement eduAgreement);

    /**
     * 新增协议信息
     * 
     * @param eduAgreement 协议信息
     * @return 结果
     */
    public int insertEduAgreement(EduAgreement eduAgreement);

    /**
     * 修改协议信息
     * 
     * @param eduAgreement 协议信息
     * @return 结果
     */
    public int updateEduAgreement(EduAgreement eduAgreement);

    /**
     * 删除协议信息
     * 
     * @param agreementId 协议信息主键
     * @return 结果
     */
    public int deleteEduAgreementByAgreementId(Long agreementId);

    /**
     * 批量删除协议信息
     * 
     * @param agreementIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteEduAgreementByAgreementIds(Long[] agreementIds);
}
